﻿using Shop.Entity;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace Shop.Product.Entity.Update
{
    /// <summary>
    /// 产品分类
    /// </summary>
    [SugarTable("ProductBaseType")]
    public class UpdateProductBaseType:UpdateEntity
    {
        /// <summary>
        /// 内置Id
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int Id { get; set; }
        /// <summary>
        /// 简体中文
        /// </summary>
        public string TypeCn { get; set; }
        /// <summary>
        /// 英文名称
        /// </summary>
        public string TypeEn { get; set; }
        /// <summary>
        /// 繁体中文
        /// </summary>
        public string TypeCh { get; set; }
        /// <summary>
        ///父级ID 
        /// </summary>
        public int? ParentId { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }
        /// <summary>
        /// 是否前端显示
        /// </summary>
        public bool IsShow { get; set; } = false;
        /// <summary>
        /// 说明
        /// </summary>
        public string Remarks { get; set; }
    }
}
